package dao;

import java.util.List;

public interface BaseDao<T>{
	public boolean save(T t);
	public boolean update(T t);
	public boolean delete(T t);
	public List<T> select(String hql);
	public int excuteBySql(String sql);
	public List<T> selectBySql(String sql);
	public T findById(int id);
	public List<T> findAll();
}
